package com.ttnet.dao;

import java.util.List;

import com.ttnet.dao.base.GenericDao;
import com.ttnet.model.User;
import com.ttnet.model.enumerations.Role;

public interface UserDao extends GenericDao<User, Long> {

    public User getUserByUserName(String userName);

    public List<User> findAllMailUser();

    public List<User> findUserByRole(Role role);

}